<template>
  <div>
    <div class="cart-header">
      <p>
        <i
          class="el-icon-document-checked"
          style="color: rgb(207, 124, 124); font-weight: 600;"
        ></i>
        我的订单
      </p>
    </div>
    <el-row id="order">
      <el-col
        :span="8"
        v-for="(o, index) in 2"
        :key="o"
        :offset="index > 0 ? 2 : 0"
        class="order"
      >
        <el-card :body-style="{ padding: '0px' }">
          <label style="margin-left: 20px !important; font-size: 25px;">
            <!-- 订单号 -->
            订单号:6564463464864

            <!-- 订单时间 -->
            <label style="float: right; margin-right: 20px !important;">
              2022-13-32 25:61:61
            </label>
          </label>
          <hr />
          <img
            src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png"
            class="image"
          />
          <div class="msg" style="padding: 14px;">
            <i class="iconfont icon-mendian1"></i>
            <span
              style="margin-left: 1px; font-size: 20px; font-family: fantasy;"
            >
              <!-- 商家 -->
              <b>
                华麦基汉堡店
              </b>
            </span>
            <a
              href="/AllShopping"
              style="
                color: rgb(125, 125, 125);
                margin-left: 10px;
                font-size: 25px;
              "
            >
              >
            </a>

            <br />
            <br />

            <!-- 商品简介 -->
            <span
              style="
                margin-left: 1px;
                font-size: 19px;
                color: rgb(52, 52, 52);
                font-family: cursive;
              "
            >
              老八秘制蟹黄堡，既实惠又管饱，来点小鸟伏特加。
            </span>
            <br />
            <br />

            <!-- 商品规格 -->
            <span
              style="
                margin-left: 1px;
                font-size: 15px;
                color: rgb(125, 125, 125);
                font-family: cursive;
              "
            >
              老八秘制套餐+小食+中可
            </span>

            <div class="bottom clearfix">
              <time class="time">{{ currentDate }}</time>
              <el-button type="text" class="button">操作按钮</el-button>
            </div>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>
<script>
export default {
  data() {
    return {
      currentDate: new Date(),
    }
  },
}
</script>
<style>
hr {
  background-color: rgb(0, 0, 0);
  height: 1.3px;
}
.cart-header {
  height: 40px;
  background-color: #fff;
  font-size: 25px;
  color: rgb(207, 124, 124);
  border-bottom: 1px solid rgb(207, 124, 124);
}
.cart-header i {
  margin-left: 20px;
}
.iconfont {
  color: rgb(181, 110, 4);
}
.order {
  margin-bottom: 15px;
  margin-left: 20px !important;
  width: 97vw !important;
  float: left;
}
.msg {
  float: left;
}
.el-card img {
  width: 210px !important;
  border: none !important;
  padding: 5px;
  float: left;
}
.time {
  font-size: 13px;
  color: #999;
}

.bottom {
  margin-top: 18px;
  line-height: 12px;
}

.button {
  padding: 0;
  float: right;
}

.image {
  width: 100%;
  display: block;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: '';
}

.clearfix:after {
  clear: both;
}
</style>
